home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gamewinnum, socwin, targetwin, rallywin
- set gamewinnum to 0
- if socwin = 1 then
- set gamewinnum to gamewinnum + 1
- end if
- if targetwin = 1 then
- set gamewinnum to gamewinnum + 1
- end if
- if rallywin = 1 then
- set gamewinnum to gamewinnum + 1
- end if
- if gamewinnum = 0 then
- puppetSound(0)
- repeat with i = 6 to 17
- puppetSprite(i, 0)
- end repeat
- go("mainfirst1")
- else
- puppetSound(0)
- repeat with i = 6 to 17
- puppetSprite(i, 0)
- end repeat
- go("mainmenu")
- end if
- end
-